package com.neuedu.model;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class Reply {
	private int replyNo;
	private int commentNo;
	private String replyContent;
	private int userNo;
	@JSONField(format="yyyy/MM/dd")
	private Date replyTime;
	private String state;
	
	private Comment comment;
	private UserMessage userMessage; // 用户
	
	
	public Comment getComment() {
		return comment;
	}


	public void setComment(Comment comment) {
		this.comment = comment;
	}


	public UserMessage getUserMessage() {
		return userMessage;
	}


	public void setUserMessage(UserMessage userMessage) {
		this.userMessage = userMessage;
	}


	
	public Reply() {
		super();
	}


	public Reply(int replyNo, int commentNo, String replyContent, int userNo, Date replyTime, String state) {
		super();
		this.replyNo = replyNo;
		this.commentNo = commentNo;
		this.replyContent = replyContent;
		this.userNo = userNo;
		this.replyTime = replyTime;
		this.state = state;
	}


	public int getReplyNo() {
		return replyNo;
	}


	public void setReplyNo(int replyNo) {
		this.replyNo = replyNo;
	}


	public int getCommentNo() {
		return commentNo;
	}


	public void setCommentNo(int commentNo) {
		this.commentNo = commentNo;
	}


	public String getReplyContent() {
		return replyContent;
	}


	public void setReplyContent(String replyContent) {
		this.replyContent = replyContent;
	}


	public int getUserNo() {
		return userNo;
	}


	public void setUserNo(int userNo) {
		this.userNo = userNo;
	}


	public Date getReplyTime() {
		return replyTime;
	}


	public void setReplyTime(Date replyTime) {
		this.replyTime = replyTime;
	}


	public String getState() {
		return state;
	}


	public void setState(String state) {
		this.state = state;
	}
	

}
